package com.huluobo.base.db;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;

import com.huluobo.base.bean.VideoBeanResult;

import java.util.List;

/**
 * Created by LC on 2024/10/8.
 */
@Dao
public interface VideoDao {
    @Insert
    void insertVideoInfo(VideoBeanResult.VideoBean videoBean);
    @Delete
    void deleteVideoInfo(VideoBeanResult.VideoBean videoBean);
    @Query("select *  from video_info")
    List<VideoBeanResult.VideoBean> queryVideoInfo();
}
